package com.zzhardy.controller.admin.permission.model;
import java.util.Date;
import java.util.List;

import org.beetl.sql.core.annotatoin.Table;


/*
*
* gen by beetlsql 2021-04-09
*/
@Table(name="growth_blog.sys_menu")
public class SysMenu   {
	
	// alias
	public static final String ALIAS_id = "id";
	public static final String ALIAS_create_id = "create_id";
	public static final String ALIAS_is_leaf = "is_leaf";
	public static final String ALIAS_level = "level";
	public static final String ALIAS_order_num = "order_num";
	public static final String ALIAS_parent_id = "parent_id";
	public static final String ALIAS_state = "state";
	public static final String ALIAS_status = "status";
	public static final String ALIAS_sys_id = "sys_id";
	public static final String ALIAS_unit_id = "unit_id";
	public static final String ALIAS_update_id = "update_id";
	public static final String ALIAS_menu_name = "menu_name";
	public static final String ALIAS_menu_url = "menu_url";
	public static final String ALIAS_remark = "remark";
	public static final String ALIAS_create_time = "create_time";
	public static final String ALIAS_update_time = "update_time";
	
	private Integer id ;
	/*
	创建人
	*/
	private Integer createId ;
	/*
	0: 非父节点 1：父节点
	*/
	private Integer isLeaf ;
	/*
	菜单层级
	*/
	private Integer level ;
	private Integer orderNum ;
	/*
	父级Id, 默认为0
	*/
	private Integer parentId ;
	/*
	数据逻辑(1：可用，0：不可用，-1：删除)
	*/
	private Integer state ;
	/*
	'1: 启用，2： 禁用'
	*/
	private Integer status ;
	private Integer sysId ;
	/*
	组织ID
	*/
	private Integer unitId ;
	private Integer updateId ;
	/*
	菜单名称
	*/
	private String menuName ;
	/*
	菜单Url
	*/
	private String menuUrl ;
	/*
	描述
	*/
	private String remark ;
	private Date createTime ;
	private Date updateTime ;
	
	List<SysMenu> children;
	
	public SysMenu() {
	}
	
	public Integer getId(){
		return  id;
	}
	public void setId(Integer id ){
		this.id = id;
	}
	
	/**
	* 创建人
	*@return
	*/
	public Integer getCreateId(){
		return  createId;
	}
	/**
	* 创建人
	*@param  createId
	*/
	public void setCreateId(Integer createId ){
		this.createId = createId;
	}
	
	/**
	* 0: 非父节点 1：父节点
	*@return
	*/
	public Integer getIsLeaf(){
		return  isLeaf;
	}
	/**
	* 0: 非父节点 1：父节点
	*@param  isLeaf
	*/
	public void setIsLeaf(Integer isLeaf ){
		this.isLeaf = isLeaf;
	}
	
	/**
	* 菜单层级
	*@return
	*/
	public Integer getLevel(){
		return  level;
	}
	/**
	* 菜单层级
	*@param  level
	*/
	public void setLevel(Integer level ){
		this.level = level;
	}
	
	public Integer getOrderNum(){
		return  orderNum;
	}
	public void setOrderNum(Integer orderNum ){
		this.orderNum = orderNum;
	}
	
	/**
	* 父级Id, 默认为0
	*@return
	*/
	public Integer getParentId(){
		return  parentId;
	}
	/**
	* 父级Id, 默认为0
	*@param  parentId
	*/
	public void setParentId(Integer parentId ){
		this.parentId = parentId;
	}
	
	/**
	* 数据逻辑(1：可用，0：不可用，-1：删除)
	*@return
	*/
	public Integer getState(){
		return  state;
	}
	/**
	* 数据逻辑(1：可用，0：不可用，-1：删除)
	*@param  state
	*/
	public void setState(Integer state ){
		this.state = state;
	}
	
	/**
	* '1: 启用，2： 禁用'
	*@return
	*/
	public Integer getStatus(){
		return  status;
	}
	/**
	* '1: 启用，2： 禁用'
	*@param  status
	*/
	public void setStatus(Integer status ){
		this.status = status;
	}
	
	public Integer getSysId(){
		return  sysId;
	}
	public void setSysId(Integer sysId ){
		this.sysId = sysId;
	}
	
	/**
	* 组织ID
	*@return
	*/
	public Integer getUnitId(){
		return  unitId;
	}
	/**
	* 组织ID
	*@param  unitId
	*/
	public void setUnitId(Integer unitId ){
		this.unitId = unitId;
	}
	
	public Integer getUpdateId(){
		return  updateId;
	}
	public void setUpdateId(Integer updateId ){
		this.updateId = updateId;
	}
	
	/**
	* 菜单名称
	*@return
	*/
	public String getMenuName(){
		return  menuName;
	}
	/**
	* 菜单名称
	*@param  menuName
	*/
	public void setMenuName(String menuName ){
		this.menuName = menuName;
	}
	
	/**
	* 菜单Url
	*@return
	*/
	public String getMenuUrl(){
		return  menuUrl;
	}
	/**
	* 菜单Url
	*@param  menuUrl
	*/
	public void setMenuUrl(String menuUrl ){
		this.menuUrl = menuUrl;
	}
	
	/**
	* 描述
	*@return
	*/
	public String getRemark(){
		return  remark;
	}
	/**
	* 描述
	*@param  remark
	*/
	public void setRemark(String remark ){
		this.remark = remark;
	}
	
	public Date getCreateTime(){
		return  createTime;
	}
	public void setCreateTime(Date createTime ){
		this.createTime = createTime;
	}
	
	public Date getUpdateTime(){
		return  updateTime;
	}
	public void setUpdateTime(Date updateTime ){
		this.updateTime = updateTime;
	}
	
	public List<SysMenu> getChildren() {
		return children;
	}
	
	public void setChildren(List<SysMenu> children) {
		this.children = children;
	}
}
